<?php if (count($categories)): ?>
	<h2>Categories</h2>
	<div class="portletinfo"><ul>
		<?php foreach ($categories as $i): ?>
			<li><strong><a href="<?php echo Gene::makeLink($parent) ?>/view/tag/<?php echo str_replace (" ", "_", $i['label']) ?>">
			<?php _e($i['label']) ?></a>
			</strong> (<?php _e($i['objects']) ?>)</li>
		<?php endforeach; ?>
	</ul></div>
<?php endif; ?>